import Vue from 'vue'
import Router from 'vue-router'
import DayReport from '@/pages/day/Day.vue'
import MonthReport from '@/pages/month/Month.vue'
import BugAnalysis from '@/pages/bug/Bug.vue'
import WftStyle from '@/pages/wft/WFT.vue'
import StaffQuality from '@/pages/staff/Staff.vue'
import SystemSetting from '@/pages/system/SystemSetting.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'DayReport',
      component: DayReport
    }, {
      path: '/month',
      name: 'MonthReport',
      component: MonthReport
    }, {
      path: '/bug',
      name: 'BugAnalysis',
      component: BugAnalysis
    }, {
      path: '/wft',
      name: 'WftStyle',
      component: WftStyle
    }, {
      path: '/people',
      name: 'StaffQuality',
      component: StaffQuality
    }, {
      path: '/system',
      name: 'SystemSetting',
      component: SystemSetting
    }
  ]
})
